Loading TOC...

HEAD /manage/v2/meters/labels/{id|name}

Summary

This resource address tests to see if the named label is in MarkLogic Server.

Response

200 OK is returned if the named label exists. Otherwise 404 Not Found is returned.

Required Privileges

This operation requires the manage-user role, or the following privilege:

http://marklogic.com/xdmp/privileges/manage

Example


curl -i -X HEAD --digest -u admin:password \
    http://localhost:8002/manage/v2/meters/labels/3108808182876923314

==> Checks for the existance of the 3108808182876923314 label.
    

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.